package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.RoleDto;
import com.zzyl.vo.RoleVo;

import java.util.List;

public interface RoleService {
    PageResponse<RoleVo> getByPage(RoleDto roleDto, Integer pageSize, Integer pageNum);

    List<String> getCheckResourceNo(Long roleId);

    void updateRole(RoleDto roleDto);

    void delete(Long roleId);

    void add(RoleDto roleDto);

    List<RoleVo> getAll();
}
